import getlink from "@/api/getapi.js"
let xihuan = {
    state: {
        arr: ""
    },
    mutations: {
        fgg(state, payload) {
            state.arr = payload.qarr
        }, 

    },
    actions: {
        kgg(context, payload) {
            console.log(context);
            getlink(payload.dizhi).then((ok) => {
                context.commit("fgg", { qarr: ok.data.data })
                console.log(ok.data.data);
            })
        }
    },
    modules: {

    }
}
export default xihuan